package com.alquimia.identityaccess.application.events.user;

import com.alquimia.identityaccess.application.events.UpdateEvent;

/**
 * Created by Ivo on 16/07/2014.
 */
public class UpdateEmailAddressEvent extends UpdateEvent {

    private String userId;
    private String emailAddress;

    public UpdateEmailAddressEvent(String aUserId, String aEmailAddress) {
        this();

        setUserId(aUserId);
        setEmailAddress(aEmailAddress);
    }

    public UpdateEmailAddressEvent(){
        super();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(final String aUserId) {
        userId = aUserId;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(final String aEmailAddress) {
        emailAddress = aEmailAddress;
    }
}
